package com.then.component.club.api;

import android.arch.lifecycle.LiveData;

import com.then.architecture.data.api.ApiResponse;
import com.then.architecture.data.dto.SimpleEntity;
import com.then.component.club.dto.ClubListResponse;

import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by 42524 on 2018/1/27.
 */

public interface RemoteService {



     @GET("club/list")
     LiveData<ApiResponse<ClubListResponse>> getClubList(@QueryMap Map<String, String> reqMap);

    @GET("customer/head")
    LiveData<ApiResponse<SimpleEntity>> getClubAvatarName(@QueryMap Map<String, String> reqMap);

    @GET("club/search")
    LiveData<ApiResponse<SimpleEntity>> searchClub(@QueryMap Map<String, String> reqMap);

    @GET("club/view")
    LiveData<ApiResponse<SimpleEntity>> getClubDetail(@QueryMap Map<String, String> reqMap);

    @GET("club/search-area")
    LiveData<ApiResponse<SimpleEntity>> areaSearchClub(@QueryMap Map<String, String> reqMap);

    @GET("club/fund-detail")
    LiveData<ApiResponse<SimpleEntity>> getClubFundDetail(@QueryMap Map reqMap);

    @GET("club/fund-list")
    LiveData<ApiResponse<SimpleEntity>> getClubFundList(@QueryMap Map reqMap);

    @GET("club/apply-fund")
    LiveData<ApiResponse<SimpleEntity>> applyClubFund(@QueryMap Map reqMap);

    @GET("club/credit-detail")
    LiveData<ApiResponse<SimpleEntity>> clubCreditDetail(@QueryMap Map reqMap);

    @GET("club/credit-history")
    LiveData<ApiResponse<SimpleEntity>> getCreditOptRecord(@QueryMap Map reqMap);

    @GET("club/apply-clear")
    LiveData<ApiResponse<SimpleEntity>> getClubSettlingCreditRequest(@QueryMap Map reqMap);

    @GET("club/clear-detail")
    LiveData<ApiResponse<SimpleEntity>> getClubSettlingCreditRequestInfo(@QueryMap Map reqMap);

    @GET("league/apply-join")
    LiveData<ApiResponse<SimpleEntity>> joinLeague(@QueryMap Map reqMap);

    @GET("league/list")
    LiveData<ApiResponse<SimpleEntity>> getLeagueList(@QueryMap Map reqMap);

    @GET("league/view")
    LiveData<ApiResponse<SimpleEntity>> getLeagueDetail(@QueryMap Map reqMap);

    @GET("league/setting")
    LiveData<ApiResponse<SimpleEntity>> leagueSetting(@QueryMap Map reqMap);

    @GET("league/getSetting")
    LiveData<ApiResponse<SimpleEntity>> leagueGetSetting(@QueryMap Map reqMap);

    @GET("league/league-info")
    LiveData<ApiResponse<SimpleEntity>> leagueInfo(@QueryMap Map reqMap);

    @GET("league/league-list")
    LiveData<ApiResponse<SimpleEntity>> getleagueList(@QueryMap Map reqMap);


}
